//
// Created by 28365 on 2025/3/13.
//

#ifndef ODUPDATERSDK_DEFAULTUPDATERAPI_H
#define ODUPDATERSDK_DEFAULTUPDATERAPI_H

#include "IUpdaterServer.h"

class DefaultUpdaterAPI : public IUpdaterServer{

public:
    ReqValue<ValueData> getConcurrencyCount(const ODUpdater &odUpdater) override;

    ReqValue<string> getResFile(const Res &res,int version,ofstream *outStream, const ODUpdater &odUpdater) override;

    ReqValue<vector<int>> getVersions(int nowVersion, int unpublishKey, const ODUpdater &odUpdater) override;

    ReqValue<vector<Res>> getVersionRes(int version, int64_t labelId, int unpublishKey, const ODUpdater &odUpdater) override;

    ReqValue<int> getUnpublishedVersion(int unpublishKey, const ODUpdater &odUpdater) override;

    ~DefaultUpdaterAPI() override;

};


#endif //ODUPDATERSDK_DEFAULTUPDATERAPI_H
